package com.example.netcenter.bean;

import java.io.Serializable;

/**
 * Created by lixl on 2018/12/7.
 * <p>
 * desc:添加上新成功之后返回的数据
 */
public class ResultsData<T> implements Serializable {

    /**
     * statusCode : 100000
     * statusStr : 请求成功
     * data : {"id":"4","supplierId":135,"goodsName":"小黄瓜","imgs":"","sourceCity":"山东","packing":"泡沫箱装","sizeDesc":"4元一斤","priceUnit":"斤","price":4,"note":"好吃不贵","status":0,"createTime":"2018-12-07 17:18:20"}
     */

    private String statusCode;
    private String statusStr;
    private T data;

    public String getStatusCode() {
        return statusCode;
    }

    public void setStatusCode(String statusCode) {
        this.statusCode = statusCode;
    }

    public String getStatusStr() {
        return statusStr;
    }

    public void setStatusStr(String statusStr) {
        this.statusStr = statusStr;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
